package com.hm.hsw1;

public class ShowHandlerDemo {
    public static void main(String[] args) {
        useShowHandler(new ShowHandler() {
            @Override
            public void show() {

            }
        });
         useShowHandler(()->{});

    }
   public static void useShowHandler(ShowHandler showHandler){
       showHandler.show();

   }
}
